package com.winning.ywypt.service.impl;

import com.winning.ywypt.Entity.Fact_zwsj_mx_qysj_rb;
import com.winning.ywypt.Entity.Fact_zwsj_mx_qysj_rb_log;
import com.winning.ywypt.dao.DataUploadDao;
import com.winning.ywypt.service.GetDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName: GetDataServiceImpl
 * @Author: sujun@winning.com.cn
 * @Desc: TODO
 * @Date: 2018-12-20 15:52
 **/

@Service
public class GetDataServiceImpl implements GetDataService {

    @Autowired
    private DataUploadDao dataUploadDao;

    @Override
    public List<Fact_zwsj_mx_qysj_rb> getZbxx() {
        return dataUploadDao.getZbxx();
    }

    @Override
    public void updateFlag() {
        dataUploadDao.updateFlag();
    }

    @Override
    public void insertLog(Fact_zwsj_mx_qysj_rb_log f) {
        dataUploadDao.insertLog(f);
    }


}
